﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Text;
using WithRefsTest.DataManager;
using WithRefsTest.DataModels;

namespace WithRefsTest.ServiceManager
{
	[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
	public class MyService : IMyService
	{
		private static readonly MyDal _dal = new MyDal();

		public Entity1 GetEntity1(int id)
		{
			var entity = _dal.GetEntity1(id);
			return entity;
		}
	}
}
